Fix demo to use a "normal" transparent value now that it works.
authorAlexander Larsson <alexl@redhat.com>
Tue, 6 Dec 2011 13:11:44 +0000 (14:11 +0100)
committerAlexander Larsson <alexl@redhat.com>
Tue, 6 Dec 2011 13:12:24 +0000 (14:12 +0100)
The last commit fixed this, so lets have a sane value in the demo code.

demos/gtk-demo/transparent.c

index d1b2cb4f97bdca0b6d7c38a7a6b025570b8e8441..21c6a0b584853f58275b0d32ab6947db56ae8c2d 100644 (file)
@@ -191,7 +191,7 @@ do_transparent (GtkWidget *do_widget)
       GtkWidget *overlay;
       GtkWidget *align;
       GtkWidget *entry;
-      GdkRGBA transparent = {0.1, 0, 0, 0};
+      GdkRGBA transparent = {0, 0, 0, 0};
 
       window = gtk_window_new (GTK_WINDOW_TOPLEVEL);
       gtk_window_set_screen (GTK_WINDOW (window),